package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 品项表
 * </p>
 *
 * @author jiangge
 * @since 2020-09-13
 */
@TableName("bty_item_interface")
public class ItemInterface implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 品项id
     */
    @TableField("item_id")
    private String itemId;

    /**
     * 品项名称
     */
    @TableField("item_name")
    private String itemName;

    /**
     * 单位
     */
    @TableField("main_unit")
    private String mainUnit;

    /**
     * 修改时间
     */
    @TableField("modify_date")
    private Date modifyDate;

    /**
     * 品项编码
     */
    @TableField("item_code")
    private String itemCode;

    /**
     * 品项类型id
     */
    @TableField("item_type_id")
    private String itemTypeId;

    /**
     * 品项状态：0 停用，1 启用
     */
    @TableField("enable_flag")
    private Integer enableFlag;

    /**
     * 规格
     */
    @TableField("spec")
    private String spec;


    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getMainUnit() {
        return mainUnit;
    }

    public void setMainUnit(String mainUnit) {
        this.mainUnit = mainUnit;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemTypeId() {
        return itemTypeId;
    }

    public void setItemTypeId(String itemTypeId) {
        this.itemTypeId = itemTypeId;
    }

    public Integer getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Integer enableFlag) {
        this.enableFlag = enableFlag;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    @Override
    public String toString() {
        return "ItemInterface{" +
        "itemId=" + itemId +
        ", itemName=" + itemName +
        ", mainUnit=" + mainUnit +
        ", modifyDate=" + modifyDate +
        ", itemCode=" + itemCode +
        ", itemTypeId=" + itemTypeId +
        ", enableFlag=" + enableFlag +
        ", spec=" + spec +
        "}";
    }
}
